package com.loong.system.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import java.math.BigDecimal;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
public class TenantInfoUpdateDTO {
  /** 主键：租户ID */
  @TableId(value = "id")
  @Schema(description = "租户ID")
  private String id;

  /** 地址 */
  @Size(max = 255, message = "编码长度不能超过255")
  @TableField(value = "address")
  @Schema(description = "地址")
  @Length(max = 255, message = "编码长度不能超过255")
  private String address;

  /** 门店介绍 */
  @Schema(description = "门店介绍")
  private String storeIntroduction;

  /** 门店图片 */
  @Schema(description = "门店主图")
  private String storeMainPic;

  /** 经度 */
  @Schema(description = "经度")
  private BigDecimal longitude;

  /** 纬度 */
  @Schema(description = "纬度")
  private BigDecimal latitude;
}
